#coding=utf-8

from selenium import webdriver
import os, time

chromedriver = "C:\Users\Administrator\AppData\Local\Google\Chrome\Application\chromedriver.exe"

driver = webdriver.Chrome(chromedriver)

driver.get("http://baidu.com")
time.sleep(3)
#driver.maximize_window()
a = driver.title
print a

time.sleep(1)
driver.find_element_by_id('kw').send_keys('selenium')
driver.find_element_by_id('su').click()
driver.quit()
